package com.leadingsoft.pwxk.controller;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestController;

import com.leadingsoft.pwxk.dto.SearchDto;
import com.leadingsoft.pwxk.service.LIIStatisticalService;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * 
 * @author ysh
 * @desc 排污许可证发放量统计
 */
@Api(description = "排污许可证发放量统计")
@RestController
@RequestMapping("api/lIIStatistical")
public class LIIStatisticalController {

	@Autowired
	LIIStatisticalService licenseInfoIssueStatisticalService;

	@GetMapping
	@ApiOperation("排污许可证发放量统计-接口")
	@ResponseStatus(code = HttpStatus.OK)
	public List<Map<String, Object>> getStatistical(SearchDto dto) {
		return licenseInfoIssueStatisticalService.getStatistical(dto);
	}
}
